package com.mms.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.mms.dao.IRoleInfoDao;
import com.mms.pojo.RoleInfo;
import com.mms.service.IRoleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 陈林鹏
 * @since 2021-04-14
 */
@Service
public class RoleInfoServiceImpl extends ServiceImpl<IRoleInfoDao, RoleInfo> implements IRoleInfoService {
    /**
     * 角色dao 层
     */
    @Autowired
    IRoleInfoDao roleInfoDao;


    /**
     * 获取用户角色表
     *
     * @return
     */
    public List<Map<String, Object>> getRoleUserinfo() {
        return roleInfoDao.getRoleUserinfo();
    }
}
